import App from "@/App.vue";
import RouterView from "@/components/routeView/RouterView.vue";

export default {
    whiteList: ["/test001/login"],
    routeList: [
        {
            path: '/',
            component: App,
            redirect: "/test000/homeIndex",
            children: [
                {
                    path: '/test000',
                    component: () => import( '@/views/HomeIndex.vue'),
                    children:[
                        {
                            path: '/test000/homeIndex',
                            component: () => import( '@/views/test000/HomeIndex.vue'),
                        },
                    ]
                },
                {
                    path: "/test001",
                    component: RouterView,
                    children: [
                        {
                            path: '/test001/login',
                            component: () => import( '@/views/test001/Login.vue')
                        },
                        {
                            path: '/test001/homeIndex',
                            component: () => import( '@/views/test001/HomeIndex.vue')
                        },
                    ]
                },
                {
                    path: "/test002",
                    component: RouterView,
                    name:"菜单",
                    children: [
                        {
                            path: '/test002/homeIndex',
                            component: () => import( '@/views/test002/HomeIndex.vue'),
                            children: [
                                {
                                    path: '/test002/m1',
                                    name:"菜单m1",
                                    component: () => import( '@/views/test002/M1.vue')
                                },
                                {
                                    path: '/test002/m2',
                                    name:"菜单m2",
                                    component: () => import( '@/views/test002/M2.vue')
                                },
                                {
                                    path: '/test002/m31',
                                    name:"菜单m31",
                                    component: () => import( '@/views/test002/M31.vue')
                                },
                                {
                                    path: '/test002/m32',
                                    name:"菜单m32",
                                    component: () => import( '@/views/test002/M32.vue')
                                },
                            ]
                        },

                    ]
                },
                {
                    path: "/test003",
                    component: () => import( '@/views/HomeIndex.vue'),
                    name:"bigemap学习",
                    children:[
                        {
                            path: '/test003/Bigemap001',
                            component: () => import( '@/views/test003/Bigemap001.vue'),
                        },
                        {
                            path: '/test003/Bigemap002',
                            component: () => import( '@/views/test003/Bigemap002.vue'),
                        },
                        {
                            path: '/test003/Bigemap003',
                            component: () => import( '@/views/test003/Bigemap003.vue'),
                        },
                        {
                            path: '/test003/Bigemap004',
                            component: () => import( '@/views/test003/Bigemap004.vue'),
                        },
                        {
                            path: '/test003/Bigemap005',
                            component: () => import( '@/views/test003/Bigemap005.vue'),
                        },
                        {
                            path: '/test003/Bigemap006',
                            component: () => import( '@/views/test003/Bigemap006.vue'),
                        },
                        {
                            path: '/test003/Bigemap007',
                            component: () => import( '@/views/test003/Bigemap007.vue'),
                        },
                    ]
                },
                {
                    path: "/test004",
                    component: () => import( '@/views/HomeIndex.vue'),
                    name:"弹窗学习",
                    children:[
                        {
                            path: '/test004/dialog001',
                            component: () => import( '@/views/test004/Dialog001/Dialog001.vue'),
                        },
                        {
                            path: '/test004/dialog002',
                            component: () => import( '@/views/test004/Dialog002/Dialog002.vue'),
                        },
                    ]
                },
                {
                    path: "/test005",
                    component: () => import( '@/views/HomeIndex.vue'),
                    name:"G6-API学习",
                    children:[
                        {
                            path: '/test005/T001',
                            component: () => import( '@/views/test005/T001.vue'),
                        },
                    ]
                },
                {
                    path: "/test006",
                    component: () => import( '@/views/HomeIndex.vue'),
                    name:"百度地图",
                    children:[
                        {
                            path: '/test006/T001',
                            component: () => import( '@/views/test006/T001.vue'),
                        },
                        {
                            path: '/test006/T002',
                            component: () => import( '@/views/test006/T002.vue'),
                        },
                        {
                            path: '/test006/T003',
                            component: () => import( '@/views/test006/T003.vue'),
                        },
                    ]
                },
                {
                    path: "/test007",
                    component: () => import( '@/views/HomeIndex.vue'),
                    name:"elementui",
                    children:[
                        {
                            path: '/test007/T001',
                            component: () => import( '@/views/test007/T001.vue'),
                        },
                        {
                            path: '/test007/T002',
                            component: () => import( '@/views/test007/T002.vue'),
                        },
                    ]
                },
                {
                    path: "/test008",
                    component: () => import( '@/views/HomeIndex.vue'),
                    name:"拓扑图",
                    children:[
                        {
                            path: '/test008/T001',
                            component: () => import( '@/views/test008/T001.vue'),
                        },
                        {
                            path: '/test008/T002',
                            component: () => import( '@/views/test008/T002.vue'),
                        },
                        {
                            path: '/test008/T003',
                            component: () => import( '@/views/test008/T003.vue'),
                        },
                        {
                            path: '/test008/T004',
                            component: () => import( '@/views/test008/T004.vue'),
                        },
                        {
                            path: '/test008/T005',
                            component: () => import( '@/views/test008/T005.vue'),
                        },
                        {
                            path: '/test008/T006',
                            component: () => import( '@/views/test008/T006.vue'),
                        },
                        {
                            path: '/test008/T007',
                            component: () => import( '@/views/test008/T007.vue'),
                        },
                    ]
                },
            ]
        },
    ],
}